package com.liner.homework.second;


public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("拉布拉多","白色",12);
        Dog dog2 = new Dog("香肠犬","香肠色",10);
        Dog dog3 = new Dog("柴犬","棕色",2);

        Fish fish1 = new Fish("鲤鱼", "粉色", 4);
        Fish fish2 = new Fish("小丑鱼", "黄色", 3);

        Chick chick1 = new Chick("小亮", "金色",3);
        Chick chick2 = new Chick("小黑", "黑色",7);
        Chick chick3 = new Chick("小明", "绿色",9);

        dog1.eat();
        dog2.lookHome();
        dog3.drink();

        fish1.eat();
        fish2.drink();

        chick1.layEggs();
        chick2.drink();
        chick3.eat();
    }
}
